package com.gaara.test;

import android.graphics.Bitmap;

public class Ball {

	public Bitmap bitmap;
	public int x;
	public int y;
	public int addX;
	public int addY;
	
	public Ball(Bitmap bitmap,int x,int y) {
		this.bitmap = bitmap;
		this.x = x;
		this.y = y;
	}
	
	public void setAdd(int addX,int addY){
		this.addX = addX;
		this.addY = addY;
	}
	
	public int getNextX(){
		x = x + addX;
		return x;
	}
	
	public int getNextY(){
		y = y + addY;
		return y;
	}

}
